
from base_config import HOUSE_HOST
from pages.base_page import BasePage
from pages.house_login_page import HouseLoginPage

'''
房屋主页
'''
class HouseMainPage(BasePage):
    url = HOUSE_HOST + 'login'

    # 打开首页
    def open_page(self):
        print("打开首页,",self.driver.current_url,self.url)
        self.open(self.url)
        return HouseLoginPage()